Enable_Mastodon_Apps\Comment_CPT S

Total Complexity 42
Dependencies 1
Dependents 2
Total lines 217
Lines of code 182
Logical lines of code 89
Comment lines 5
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
create_comment_post()
A
46 10 40
update_comment_post_status()
A
50 7 31
api_account()
S
55 6 20
update_comment_post()
S
59 3 14
post_id_to_comment_id()
S
64 3 10
delete_post()
S
65 3 10
register_custom_post_type()
S
59 1 16
comment_id_to_post_id()
S
68 2 7
mastodon_api_in_reply_to_id()
S
70 2 7
delete_comment_post()
S
67 2 8
register_hooks()
S
61 1 11
__construct()
S
78 1 4
api_get_posts_query_args()
S
76 1 4